<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        alert("结果显示在控制台");
        // row未经加工的，novel新的
        	function sort(raw){
			for (var i=0;i<=raw.length-1;i++){
				for (var j=i;j<=raw.length-1;j++){
					if (raw[i]>=raw[j]){
						var temp=raw[i];
						raw[i]=raw[j];
						raw[j]=temp;
					}
				}
			}
			return raw
		}
		var nov=sort([3,6,81,4,0,7]);
        for(var i=0;i<=nov.length-1;i++){
            console.log(nov[i]);
        }
        console.log(nov);
    </script>
</head>
<body>
</body>
</html>